diff options
Diffstat (limited to 'tests/cassettes/test_media_post[False].yaml')
-rw-r--r-- | tests/cassettes/test_media_post[False].yaml | 200 |
1 files changed, 40 insertions, 160 deletions
diff --git a/tests/cassettes/test_media_post[False].yaml b/tests/cassettes/test_media_post[False].yaml index 062c59c..8de11cc 100644 --- a/tests/cassettes/test_media_post[False].yaml +++ b/tests/cassettes/test_media_post[False].yaml | |||
@@ -1,133 +1,13 @@ | |||
1 | interactions: | 1 | interactions: |
2 | - request: | 2 | - request: |
3 | body: null | ||
4 | headers: | ||
5 | Accept: | ||
6 | - '*/*' | ||
7 | Accept-Encoding: | ||
8 | - gzip, deflate | ||
9 | Authorization: | ||
10 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
11 | Connection: | ||
12 | - keep-alive | ||
13 | User-Agent: | ||
14 | - tests/v311 | ||
15 | method: GET | ||
16 | uri: http://localhost:3000/api/v1/instance/ | ||
17 | response: | ||
18 | body: | ||
19 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":1,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' | ||
20 | headers: | ||
21 | Cache-Control: | ||
22 | - max-age=180, public | ||
23 | Content-Security-Policy: | ||
24 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
25 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
26 | style-src ''self'' http://localhost:3000 ''nonce-8hvtVGmtdfM5+tAKIeElFg==''; | ||
27 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
28 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
29 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
30 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
31 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
32 | worker-src ''self'' blob: http://localhost:3000' | ||
33 | Content-Type: | ||
34 | - application/json; charset=utf-8 | ||
35 | Date: | ||
36 | - Sun, 13 Nov 2022 16:30:16 GMT | ||
37 | ETag: | ||
38 | - W/"bf317ffab393d8d1da7195269f28968a" | ||
39 | Referrer-Policy: | ||
40 | - strict-origin-when-cross-origin | ||
41 | Transfer-Encoding: | ||
42 | - chunked | ||
43 | Vary: | ||
44 | - Accept, Origin | ||
45 | X-Content-Type-Options: | ||
46 | - nosniff | ||
47 | X-Download-Options: | ||
48 | - noopen | ||
49 | X-Frame-Options: | ||
50 | - SAMEORIGIN | ||
51 | X-Permitted-Cross-Domain-Policies: | ||
52 | - none | ||
53 | X-Request-Id: | ||
54 | - 29f83f9b-0bd8-4e7d-a0b6-6d0939ee3eff | ||
55 | X-Runtime: | ||
56 | - '0.014396' | ||
57 | X-XSS-Protection: | ||
58 | - 1; mode=block | ||
59 | status: | ||
60 | code: 200 | ||
61 | message: OK | ||
62 | - request: | ||
63 | body: null | ||
64 | headers: | ||
65 | Accept: | ||
66 | - '*/*' | ||
67 | Accept-Encoding: | ||
68 | - gzip, deflate | ||
69 | Authorization: | ||
70 | - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN | ||
71 | Connection: | ||
72 | - keep-alive | ||
73 | User-Agent: | ||
74 | - tests/v311 | ||
75 | method: GET | ||
76 | uri: http://localhost:3000/api/v1/instance/ | ||
77 | response: | ||
78 | body: | ||
79 | string: '{"uri":"localhost:3000","title":"Mastodon","short_description":"","description":"","email":"","version":"4.0.0rc2","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":4,"status_count":1,"domain_count":0},"thumbnail":"http://localhost:3000/packs/media/images/preview-6399aebd96ccf025654e2977454f168f.png","languages":["en"],"registrations":true,"approval_required":false,"invites_enabled":true,"configuration":{"accounts":{"max_featured_tags":10},"statuses":{"max_characters":500,"max_media_attachments":4,"characters_reserved_per_url":23},"media_attachments":{"supported_mime_types":["image/jpeg","image/png","image/gif","image/heic","image/heif","image/webp","image/avif","video/webm","video/mp4","video/quicktime","video/ogg","audio/wave","audio/wav","audio/x-wav","audio/x-pn-wave","audio/vnd.wave","audio/ogg","audio/vorbis","audio/mpeg","audio/mp3","audio/webm","audio/flac","audio/aac","audio/m4a","audio/x-m4a","audio/mp4","audio/3gpp","video/x-ms-asf"],"image_size_limit":10485760,"image_matrix_limit":16777216,"video_size_limit":41943040,"video_frame_rate_limit":60,"video_matrix_limit":2304000},"polls":{"max_options":4,"max_characters_per_option":50,"min_expiration":300,"max_expiration":2629746}},"contact_account":null,"rules":[]}' | ||
80 | headers: | ||
81 | Cache-Control: | ||
82 | - max-age=180, public | ||
83 | Content-Security-Policy: | ||
84 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | ||
85 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | ||
86 | style-src ''self'' http://localhost:3000 ''nonce-dSjEao7u+bBmCE0wSrg2Pw==''; | ||
87 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | ||
88 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | ||
89 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | ||
90 | ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline'' | ||
91 | ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000; | ||
92 | worker-src ''self'' blob: http://localhost:3000' | ||
93 | Content-Type: | ||
94 | - application/json; charset=utf-8 | ||
95 | Date: | ||
96 | - Sun, 13 Nov 2022 16:30:16 GMT | ||
97 | ETag: | ||
98 | - W/"bf317ffab393d8d1da7195269f28968a" | ||
99 | Referrer-Policy: | ||
100 | - strict-origin-when-cross-origin | ||
101 | Transfer-Encoding: | ||
102 | - chunked | ||
103 | Vary: | ||
104 | - Accept, Origin | ||
105 | X-Content-Type-Options: | ||
106 | - nosniff | ||
107 | X-Download-Options: | ||
108 | - noopen | ||
109 | X-Frame-Options: | ||
110 | - SAMEORIGIN | ||
111 | X-Permitted-Cross-Domain-Policies: | ||
112 | - none | ||
113 | X-Request-Id: | ||
114 | - d0063735-6623-471a-b216-60fd7201c172 | ||
115 | X-Runtime: | ||
116 | - '0.014174' | ||
117 | X-XSS-Protection: | ||
118 | - 1; mode=block | ||
119 | status: | ||
120 | code: 200 | ||
121 | message: OK | ||
122 | - request: | ||
123 | body: !!binary | | 3 | body: !!binary | |
124 | LS1lNWE3MmJjYWM2MzAwYWU3YjE5MjU1MDEyZjgzZjMzMg0KQ29udGVudC1EaXNwb3NpdGlvbjog | 4 | LS1mMDU5ZTUwNTE5NDE5OGZjOThlZGU3MTE2ZDExNmRmMQ0KQ29udGVudC1EaXNwb3NpdGlvbjog |
125 | Zm9ybS1kYXRhOyBuYW1lPSJkZXNjcmlwdGlvbiINCg0KbWUgd2hlbiBhIGNhdA0KLS1lNWE3MmJj | 5 | Zm9ybS1kYXRhOyBuYW1lPSJkZXNjcmlwdGlvbiINCg0KbWUgd2hlbiBhIGNhdA0KLS1mMDU5ZTUw |
126 | YWM2MzAwYWU3YjE5MjU1MDEyZjgzZjMzMg0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRh | 6 | NTE5NDE5OGZjOThlZGU3MTE2ZDExNmRmMQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRh |
127 | OyBuYW1lPSJmb2N1cyINCg0KLTAuNSwwLjMNCi0tZTVhNzJiY2FjNjMwMGFlN2IxOTI1NTAxMmY4 | 7 | OyBuYW1lPSJmb2N1cyINCg0KLTAuNSwwLjMNCi0tZjA1OWU1MDUxOTQxOThmYzk4ZWRlNzExNmQx |
128 | M2YzMzINCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iZmlsZSI7IGZpbGVu | 8 | MTZkZjENCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iZmlsZSI7IGZpbGVu |
129 | YW1lPSJtYXN0b2RvbnB5dXBsb2FkXzE2NjgzNTcwMTYuNTg1MDg2OF8wYTgyMmJjMmRjZDM0NmFk | 9 | YW1lPSJtYXN0b2RvbnB5dXBsb2FkXzE2Njg4MTg1OTEuMTQzNTIwOF9jN2VkMTcyYjZmOTQ0ZGYw |
130 | OTNlYjkwNDc5ZWM0YmUyYy5tcDQiDQpDb250ZW50LVR5cGU6IHZpZGVvL21wNA0KDQoAAAAYZnR5 | 10 | YTliMjViODJhM2JiYjIwYy5tcDQiDQpDb250ZW50LVR5cGU6IHZpZGVvL21wNA0KDQoAAAAYZnR5 |
131 | cG1wNDIAAAAAaXNvbW1wNDIAABWubW9vdgAAAGxtdmhkAAAAAN8tRgLfLUYCAAFfkAAKBmgAAQAA | 11 | cG1wNDIAAAAAaXNvbW1wNDIAABWubW9vdgAAAGxtdmhkAAAAAN8tRgLfLUYCAAFfkAAKBmgAAQAA |
132 | AQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAA | 12 | AQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAA |
133 | AAAAAAAAAAAAAAAAAAAAAAAAAwAACEt0cmFrAAAAXHRraGQAAAAH3y1GA98tRgMAAAABAAAAAAAK | 13 | AAAAAAAAAAAAAAAAAAAAAAAAAwAACEt0cmFrAAAAXHRraGQAAAAH3y1GA98tRgMAAAABAAAAAAAK |
@@ -35141,9 +35021,9 @@ interactions: | |||
35141 | r25Zpp2WUjLR3iHLbaTq6sgK05q7BcngjsocYzFFlERnZ69NwXAtTN6Um/L/ISP/PDIvwH+mJxop | 35021 | r25Zpp2WUjLR3iHLbaTq6sgK05q7BcngjsocYzFFlERnZ69NwXAtTN6Um/L/ISP/PDIvwH+mJxop |
35142 | 3kjTO31+Mdo3/rjb2S5VuR4Z/3z/yU2X+P0uxTlAe+5nVwxPzzUnbjPJ0/qeihMHMxQWvFNCdy7V | 35022 | 3kjTO31+Mdo3/rjb2S5VuR4Z/3z/yU2X+P0uxTlAe+5nVwxPzzUnbjPJ0/qeihMHMxQWvFNCdy7V |
35143 | ShDK+wvQBUjSixW0ujOA+uUGx3AreoZhwHJqenCIveIC46NFllb4N9ww0SrbvyTkWdmhi2gmYAAA | 35023 | ShDK+wvQBUjSixW0ujOA+uUGx3AreoZhwHJqenCIveIC46NFllb4N9ww0SrbvyTkWdmhi2gmYAAA |
35144 | AAEKDQotLWU1YTcyYmNhYzYzMDBhZTdiMTkyNTUwMTJmODNmMzMyDQpDb250ZW50LURpc3Bvc2l0 | 35024 | AAEKDQotLWYwNTllNTA1MTk0MTk4ZmM5OGVkZTcxMTZkMTE2ZGYxDQpDb250ZW50LURpc3Bvc2l0 |
35145 | aW9uOiBmb3JtLWRhdGE7IG5hbWU9InRodW1ibmFpbCI7IGZpbGVuYW1lPSJtYXN0b2RvbnB5dXBs | 35025 | aW9uOiBmb3JtLWRhdGE7IG5hbWU9InRodW1ibmFpbCI7IGZpbGVuYW1lPSJtYXN0b2RvbnB5dXBs |
35146 | b2FkXzE2NjgzNTcwMTYuNjA0MjM3OF85OGFlNTRmNDZkNjU0YjFiOGExZjkxOGFkMGQzMzE2My5q | 35026 | b2FkXzE2Njg4MTg1OTEuMTQzODAzNl9lYWYyMmNjMTEzNTQ0NDNlOTc5NGFjMWVhODZjMzI4Yi5q |
35147 | cGciDQpDb250ZW50LVR5cGU6IGltYWdlL2pwZWcNCg0K/9j/4AAQSkZJRgABAQAAAQABAAD/4gKg | 35027 | cGciDQpDb250ZW50LVR5cGU6IGltYWdlL2pwZWcNCg0K/9j/4AAQSkZJRgABAQAAAQABAAD/4gKg |
35148 | SUNDX1BST0ZJTEUAAQEAAAKQbGNtcwQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwQVBQ | 35028 | SUNDX1BST0ZJTEUAAQEAAAKQbGNtcwQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwQVBQ |
35149 | TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAA | 35029 | TAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAA |
@@ -35618,7 +35498,7 @@ interactions: | |||
35618 | a8qiytgPSFd303FNYyRalj2WjajkwhI9o/yqXk7oqZBKgurLSgqNqLAqt0puaZq5xeFKVwuynHY6 | 35498 | a8qiytgPSFd303FNYyRalj2WjajkwhI9o/yqXk7oqZBKgurLSgqNqLAqt0puaZq5xeFKVwuynHY6 |
35619 | 0lFZmjsSgpz0/YjQtPJAr2amp/oqf6KCkkoi6sUTmfnXeZ5qUPImhkYMhww60+izCtWlrFOshM0e | 35499 | 0lFZmjsSgpz0/YjQtPJAr2amp/oqf6KCkkoi6sUTmfnXeZ5qUPImhkYMhww60+izCtWlrFOshM0e |
35620 | d/mU1a27R1TTB91BH7gdym2Fgi7vVveGB+KhAwvu82i5voYn9+0miV456UxiEYTagvxpW8ZXs/F/ | 35500 | d/mU1a27R1TTB91BH7gdym2Fgi7vVveGB+KhAwvu82i5voYn9+0miV456UxiEYTagvxpW8ZXs/F/ |
35621 | /9kNCi0tZTVhNzJiY2FjNjMwMGFlN2IxOTI1NTAxMmY4M2YzMzItLQ0K | 35501 | /9kNCi0tZjA1OWU1MDUxOTQxOThmYzk4ZWRlNzExNmQxMTZkZjEtLQ0K |
35622 | headers: | 35502 | headers: |
35623 | Accept: | 35503 | Accept: |
35624 | - '*/*' | 35504 | - '*/*' |
@@ -35631,14 +35511,14 @@ interactions: | |||
35631 | Content-Length: | 35511 | Content-Length: |
35632 | - '2023371' | 35512 | - '2023371' |
35633 | Content-Type: | 35513 | Content-Type: |
35634 | - multipart/form-data; boundary=e5a72bcac6300ae7b19255012f83f332 | 35514 | - multipart/form-data; boundary=f059e505194198fc98ede7116d116df1 |
35635 | User-Agent: | 35515 | User-Agent: |
35636 | - tests/v311 | 35516 | - tests/v311 |
35637 | method: POST | 35517 | method: POST |
35638 | uri: http://localhost:3000/api/v2/media | 35518 | uri: http://localhost:3000/api/v2/media |
35639 | response: | 35519 | response: |
35640 | body: | 35520 | body: |
35641 | string: '{"id":"109337445464260149","type":"video","url":null,"preview_url":"http://localhost:3000/system/media_attachments/thumbnails/109/337/445/464/260/149/original/cb0cc6206739de32.jpg","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"colors":{"background":"#dcf4fd","foreground":"#23211f","accent":"#47372d"},"original":{"width":640,"height":640,"frame_rate":"30/1","duration":7.3,"bitrate":2187124},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0},"focus":{"x":-0.5,"y":0.3}},"description":"me | 35521 | string: '{"id":"109367695219549413","type":"video","url":null,"preview_url":"http://localhost:3000/system/media_attachments/thumbnails/109/367/695/219/549/413/original/d0707ae50f45a83c.jpg","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"colors":{"background":"#dcf4fd","foreground":"#23211f","accent":"#47372d"},"original":{"width":640,"height":640,"frame_rate":"30/1","duration":7.3,"bitrate":2187124},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0},"focus":{"x":-0.5,"y":0.3}},"description":"me |
35642 | when a cat","blurhash":"UPNKI$xbloIA9ZoI.8RjK-oy%NkD%hW?i^t6"}' | 35522 | when a cat","blurhash":"UPNKI$xbloIA9ZoI.8RjK-oy%NkD%hW?i^t6"}' |
35643 | headers: | 35523 | headers: |
35644 | Cache-Control: | 35524 | Cache-Control: |
@@ -35646,7 +35526,7 @@ interactions: | |||
35646 | Content-Security-Policy: | 35526 | Content-Security-Policy: |
35647 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 35527 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
35648 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 35528 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
35649 | style-src ''self'' http://localhost:3000 ''nonce-CmVgOfEPOZG0hURzg4p6kA==''; | 35529 | style-src ''self'' http://localhost:3000 ''nonce-Sc7XVLNX+vtJzBf0iOUJSg==''; |
35650 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 35530 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
35651 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 35531 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
35652 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 35532 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -35670,9 +35550,9 @@ interactions: | |||
35670 | X-Permitted-Cross-Domain-Policies: | 35550 | X-Permitted-Cross-Domain-Policies: |
35671 | - none | 35551 | - none |
35672 | X-Request-Id: | 35552 | X-Request-Id: |
35673 | - b02a1e9a-1090-42a3-828e-e79398fd568d | 35553 | - a302ebe0-160b-431f-a3c6-2841586ad76d |
35674 | X-Runtime: | 35554 | X-Runtime: |
35675 | - '0.349949' | 35555 | - '0.463136' |
35676 | X-XSS-Protection: | 35556 | X-XSS-Protection: |
35677 | - 1; mode=block | 35557 | - 1; mode=block |
35678 | status: | 35558 | status: |
@@ -35692,10 +35572,10 @@ interactions: | |||
35692 | User-Agent: | 35572 | User-Agent: |
35693 | - tests/v311 | 35573 | - tests/v311 |
35694 | method: GET | 35574 | method: GET |
35695 | uri: http://localhost:3000/api/v1/media/109337445464260149 | 35575 | uri: http://localhost:3000/api/v1/media/109367695219549413 |
35696 | response: | 35576 | response: |
35697 | body: | 35577 | body: |
35698 | string: '{"id":"109337445464260149","type":"video","url":"http://localhost:3000/system/media_attachments/files/109/337/445/464/260/149/original/705b3e2a01e79263.mp4","preview_url":"http://localhost:3000/system/media_attachments/thumbnails/109/337/445/464/260/149/original/cb0cc6206739de32.jpg","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"focus":{"x":-0.5,"y":0.3},"colors":{"background":"#dcf4fd","foreground":"#23211f","accent":"#47372d"},"original":{"width":640,"height":640,"frame_rate":"30/1","duration":7.3,"bitrate":2133962},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":"me | 35578 | string: '{"id":"109367695219549413","type":"video","url":"http://localhost:3000/system/media_attachments/files/109/367/695/219/549/413/original/1f5a91a18443d317.mp4","preview_url":"http://localhost:3000/system/media_attachments/thumbnails/109/367/695/219/549/413/original/d0707ae50f45a83c.jpg","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"focus":{"x":-0.5,"y":0.3},"colors":{"background":"#dcf4fd","foreground":"#23211f","accent":"#47372d"},"original":{"width":640,"height":640,"frame_rate":"30/1","duration":7.3,"bitrate":2133962},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":"me |
35699 | when a cat","blurhash":"UPNKI$xbloIA9ZoI.8RjK-oy%NkD%hW?i^t6"}' | 35579 | when a cat","blurhash":"UPNKI$xbloIA9ZoI.8RjK-oy%NkD%hW?i^t6"}' |
35700 | headers: | 35580 | headers: |
35701 | Cache-Control: | 35581 | Cache-Control: |
@@ -35703,7 +35583,7 @@ interactions: | |||
35703 | Content-Security-Policy: | 35583 | Content-Security-Policy: |
35704 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 35584 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
35705 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 35585 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
35706 | style-src ''self'' http://localhost:3000 ''nonce-87DnOVNrGsB4rm1urALdPQ==''; | 35586 | style-src ''self'' http://localhost:3000 ''nonce-CcpUjVxXwmx3/Cq4/Abiqg==''; |
35707 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 35587 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
35708 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 35588 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
35709 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 35589 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -35713,7 +35593,7 @@ interactions: | |||
35713 | Content-Type: | 35593 | Content-Type: |
35714 | - application/json; charset=utf-8 | 35594 | - application/json; charset=utf-8 |
35715 | ETag: | 35595 | ETag: |
35716 | - W/"b7a53b521ff908a5299caa3a74faca8a" | 35596 | - W/"7d0e078bcbcb3fc233faa3eaa2da9c5f" |
35717 | Referrer-Policy: | 35597 | Referrer-Policy: |
35718 | - strict-origin-when-cross-origin | 35598 | - strict-origin-when-cross-origin |
35719 | Transfer-Encoding: | 35599 | Transfer-Encoding: |
@@ -35729,16 +35609,16 @@ interactions: | |||
35729 | X-Permitted-Cross-Domain-Policies: | 35609 | X-Permitted-Cross-Domain-Policies: |
35730 | - none | 35610 | - none |
35731 | X-Request-Id: | 35611 | X-Request-Id: |
35732 | - 90545997-3313-4030-a1fe-ff510ed7b6b2 | 35612 | - 36e31d32-e07a-46f3-98fa-90c5fede3e00 |
35733 | X-Runtime: | 35613 | X-Runtime: |
35734 | - '0.010117' | 35614 | - '0.013123' |
35735 | X-XSS-Protection: | 35615 | X-XSS-Protection: |
35736 | - 1; mode=block | 35616 | - 1; mode=block |
35737 | status: | 35617 | status: |
35738 | code: 200 | 35618 | code: 200 |
35739 | message: OK | 35619 | message: OK |
35740 | - request: | 35620 | - request: |
35741 | body: status=LOL+check+this+out&media_ids%5B%5D=109337445464260149 | 35621 | body: status=LOL+check+this+out&media_ids%5B%5D=109367695219549413 |
35742 | headers: | 35622 | headers: |
35743 | Accept: | 35623 | Accept: |
35744 | - '*/*' | 35624 | - '*/*' |
@@ -35758,11 +35638,11 @@ interactions: | |||
35758 | uri: http://localhost:3000/api/v1/statuses | 35638 | uri: http://localhost:3000/api/v1/statuses |
35759 | response: | 35639 | response: |
35760 | body: | 35640 | body: |
35761 | string: '{"id":"109337446122665269","created_at":"2022-11-13T16:30:27.020Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109337446122665269","url":"http://localhost:3000/@mastodonpy_test/109337446122665269","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eLOL | 35641 | string: '{"id":"109367695878678073","created_at":"2022-11-19T00:43:21.667Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109367695878678073","url":"http://localhost:3000/@mastodonpy_test/109367695878678073","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"content":"\u003cp\u003eLOL |
35762 | check this out\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 35642 | check this out\u003c/p\u003e","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
35763 | test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 35643 | test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
35764 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 35644 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI |
35765 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[{"id":"109337445464260149","type":"video","url":"http://localhost:3000/system/media_attachments/files/109/337/445/464/260/149/original/705b3e2a01e79263.mp4","preview_url":"http://localhost:3000/system/media_attachments/thumbnails/109/337/445/464/260/149/original/cb0cc6206739de32.jpg","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"focus":{"x":-0.5,"y":0.3},"colors":{"background":"#dcf4fd","foreground":"#23211f","accent":"#47372d"},"original":{"width":640,"height":640,"frame_rate":"30/1","duration":7.3,"bitrate":2133962},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":"me | 35645 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","header":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2022-11-19","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[{"id":"109367695219549413","type":"video","url":"http://localhost:3000/system/media_attachments/files/109/367/695/219/549/413/original/1f5a91a18443d317.mp4","preview_url":"http://localhost:3000/system/media_attachments/thumbnails/109/367/695/219/549/413/original/d0707ae50f45a83c.jpg","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"focus":{"x":-0.5,"y":0.3},"colors":{"background":"#dcf4fd","foreground":"#23211f","accent":"#47372d"},"original":{"width":640,"height":640,"frame_rate":"30/1","duration":7.3,"bitrate":2133962},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":"me |
35766 | when a cat","blurhash":"UPNKI$xbloIA9ZoI.8RjK-oy%NkD%hW?i^t6"}],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | 35646 | when a cat","blurhash":"UPNKI$xbloIA9ZoI.8RjK-oy%NkD%hW?i^t6"}],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
35767 | headers: | 35647 | headers: |
35768 | Cache-Control: | 35648 | Cache-Control: |
@@ -35770,7 +35650,7 @@ interactions: | |||
35770 | Content-Security-Policy: | 35650 | Content-Security-Policy: |
35771 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 35651 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
35772 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 35652 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
35773 | style-src ''self'' http://localhost:3000 ''nonce-dQm7QW4wQOs3KBewovJPdg==''; | 35653 | style-src ''self'' http://localhost:3000 ''nonce-1s54U4o6uePVn3elPz11tQ==''; |
35774 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 35654 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
35775 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 35655 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
35776 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 35656 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -35780,7 +35660,7 @@ interactions: | |||
35780 | Content-Type: | 35660 | Content-Type: |
35781 | - application/json; charset=utf-8 | 35661 | - application/json; charset=utf-8 |
35782 | ETag: | 35662 | ETag: |
35783 | - W/"127560af1c07e9444ce0dfb8b40bba03" | 35663 | - W/"dadf892a60bcc2ee796cab3c0bbeb9a0" |
35784 | Referrer-Policy: | 35664 | Referrer-Policy: |
35785 | - strict-origin-when-cross-origin | 35665 | - strict-origin-when-cross-origin |
35786 | Transfer-Encoding: | 35666 | Transfer-Encoding: |
@@ -35800,11 +35680,11 @@ interactions: | |||
35800 | X-RateLimit-Remaining: | 35680 | X-RateLimit-Remaining: |
35801 | - '284' | 35681 | - '284' |
35802 | X-RateLimit-Reset: | 35682 | X-RateLimit-Reset: |
35803 | - '2022-11-13T18:00:00.052132Z' | 35683 | - '2022-11-19T03:00:00.694843Z' |
35804 | X-Request-Id: | 35684 | X-Request-Id: |
35805 | - 0e7231bb-2a5e-46c9-ad57-e36c218d3dd4 | 35685 | - 1bbf0296-1baa-4294-8a1b-21290e5322de |
35806 | X-Runtime: | 35686 | X-Runtime: |
35807 | - '0.045095' | 35687 | - '0.047150' |
35808 | X-XSS-Protection: | 35688 | X-XSS-Protection: |
35809 | - 1; mode=block | 35689 | - 1; mode=block |
35810 | status: | 35690 | status: |
@@ -35826,14 +35706,14 @@ interactions: | |||
35826 | User-Agent: | 35706 | User-Agent: |
35827 | - tests/v311 | 35707 | - tests/v311 |
35828 | method: DELETE | 35708 | method: DELETE |
35829 | uri: http://localhost:3000/api/v1/statuses/109337446122665269 | 35709 | uri: http://localhost:3000/api/v1/statuses/109367695878678073 |
35830 | response: | 35710 | response: |
35831 | body: | 35711 | body: |
35832 | string: '{"id":"109337446122665269","created_at":"2022-11-13T16:30:27.020Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109337446122665269","url":"http://localhost:3000/@mastodonpy_test/109337446122665269","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"LOL | 35712 | string: '{"id":"109367695878678073","created_at":"2022-11-19T00:43:21.667Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/109367695878678073","url":"http://localhost:3000/@mastodonpy_test/109367695878678073","replies_count":0,"reblogs_count":0,"favourites_count":0,"edited_at":null,"favourited":false,"reblogged":false,"muted":false,"bookmarked":false,"pinned":false,"text":"LOL |
35833 | check this out","filtered":[],"reblog":null,"application":{"name":"Mastodon.py | 35713 | check this out","filtered":[],"reblog":null,"application":{"name":"Mastodon.py |
35834 | test suite","website":null},"account":{"id":"109337440686176140","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John | 35714 | test suite","website":null},"account":{"id":"109367691239664003","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John |
35835 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-13T00:00:00.000Z","note":"\u003cp\u003eI | 35715 | Lennon","locked":true,"bot":false,"discoverable":null,"group":false,"created_at":"2022-11-19T00:00:00.000Z","note":"\u003cp\u003eI |
35836 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/337/440/686/176/140/original/d6cd9a5a5e65da30.jpg","header":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/337/440/686/176/140/original/2b7760a42692fbde.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-13","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[{"id":"109337445464260149","type":"video","url":"http://localhost:3000/system/media_attachments/files/109/337/445/464/260/149/original/705b3e2a01e79263.mp4","preview_url":"http://localhost:3000/system/media_attachments/thumbnails/109/337/445/464/260/149/original/cb0cc6206739de32.jpg","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"focus":{"x":-0.5,"y":0.3},"colors":{"background":"#dcf4fd","foreground":"#23211f","accent":"#47372d"},"original":{"width":640,"height":640,"frame_rate":"30/1","duration":7.3,"bitrate":2133962},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":"me | 35716 | walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/109/367/691/239/664/003/original/1063e26998b14a98.jpg","header":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","header_static":"http://localhost:3000/system/accounts/headers/109/367/691/239/664/003/original/a07903ff76e88927.jpg","followers_count":0,"following_count":0,"statuses_count":1,"last_status_at":"2022-11-19","noindex":false,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[{"id":"109367695219549413","type":"video","url":"http://localhost:3000/system/media_attachments/files/109/367/695/219/549/413/original/1f5a91a18443d317.mp4","preview_url":"http://localhost:3000/system/media_attachments/thumbnails/109/367/695/219/549/413/original/d0707ae50f45a83c.jpg","remote_url":null,"preview_remote_url":null,"text_url":null,"meta":{"focus":{"x":-0.5,"y":0.3},"colors":{"background":"#dcf4fd","foreground":"#23211f","accent":"#47372d"},"original":{"width":640,"height":640,"frame_rate":"30/1","duration":7.3,"bitrate":2133962},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":"me |
35837 | when a cat","blurhash":"UPNKI$xbloIA9ZoI.8RjK-oy%NkD%hW?i^t6"}],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' | 35717 | when a cat","blurhash":"UPNKI$xbloIA9ZoI.8RjK-oy%NkD%hW?i^t6"}],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}' |
35838 | headers: | 35718 | headers: |
35839 | Cache-Control: | 35719 | Cache-Control: |
@@ -35841,7 +35721,7 @@ interactions: | |||
35841 | Content-Security-Policy: | 35721 | Content-Security-Policy: |
35842 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src | 35722 | - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src |
35843 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; | 35723 | ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000; |
35844 | style-src ''self'' http://localhost:3000 ''nonce-2bFfP1YoLHxe5qPfRRxBVQ==''; | 35724 | style-src ''self'' http://localhost:3000 ''nonce-/osbk7bYZTcND3cStBaBjg==''; |
35845 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' | 35725 | media-src ''self'' https: data: http://localhost:3000; frame-src ''self'' |
35846 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' | 35726 | https:; manifest-src ''self'' http://localhost:3000; connect-src ''self'' |
35847 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 | 35727 | data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000 |
@@ -35851,7 +35731,7 @@ interactions: | |||
35851 | Content-Type: | 35731 | Content-Type: |
35852 | - application/json; charset=utf-8 | 35732 | - application/json; charset=utf-8 |
35853 | ETag: | 35733 | ETag: |
35854 | - W/"d5c0e701d69672b21a08a6dc19c8423d" | 35734 | - W/"b0fca0a2e8482fe5da18328894d3f52f" |
35855 | Referrer-Policy: | 35735 | Referrer-Policy: |
35856 | - strict-origin-when-cross-origin | 35736 | - strict-origin-when-cross-origin |
35857 | Transfer-Encoding: | 35737 | Transfer-Encoding: |
@@ -35867,9 +35747,9 @@ interactions: | |||
35867 | X-Permitted-Cross-Domain-Policies: | 35747 | X-Permitted-Cross-Domain-Policies: |
35868 | - none | 35748 | - none |
35869 | X-Request-Id: | 35749 | X-Request-Id: |
35870 | - 0dceec2f-878b-43b8-a035-7fbb9c7b98ba | 35750 | - 7f860610-e3f9-476a-85bc-2c3d6742552f |
35871 | X-Runtime: | 35751 | X-Runtime: |
35872 | - '0.025023' | 35752 | - '0.031733' |
35873 | X-XSS-Protection: | 35753 | X-XSS-Protection: |
35874 | - 1; mode=block | 35754 | - 1; mode=block |
35875 | status: | 35755 | status: |